﻿using System;

namespace Dapper.ExpressionExtension.Resolvers
{
    /// <summary>
    /// 主键解析器
    /// </summary>
    public interface IKeyPropertyResolver
    {
        /// <summary>
        /// 解析主键
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        ColumnPropertyInfo[] ResolveKeyProperties(Type type);
    }
}
